package cn.lingyangwl.agile.system.model.rqrs.ram;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 资源权限响应, resource_permission
 * @author shenguangyang
 */
@Data
public class ResourcePermResp {
    @ApiModelProperty(value = "资源动作, eg: sys:user:save")
    private String action;

    @ApiModelProperty(value = "关联的名字")
    private String name;

    @ApiModelProperty(value = "被授权主体id, eg: roleId")
    private Long subjectId;

    @ApiModelProperty(value = "资源id, 目前只表示sys_menu的id, 如果是接口权限且不存在菜单就为0")
    private Long resourceId;
}
